﻿
namespace ShootMan
{
    public class GlobalDefines
    {
        public enum Layers
        {
            Player = 10,
            Enmey = 11,
        }

        public enum UILayers
        {
            Default = 0,
            Game = 1
        }

        public class SettingKeys
        {
            public const string CURRENT_LANGUAGE = "current_language";
        }

        public const string HOTUPDATE_ROOT = "Assets/ShootMan/Resources_HotUpdate/";

        public class UIPath
        {
            public const string TIP_LAYER = HOTUPDATE_ROOT + "Prefabs/UI/TipLayer.prefab";
        }
    }

    //射击到对象后获得分数事件
    public class ShootAddScoreEvent : shaco.Base.BaseEventArg
    {
        public int score;
    }

    //游戏失败事件
    public class GameOverEvent : shaco.Base.BaseEventArg
    {
        public int totalShootCount = 0;
    }

    //射击子弹计数事件
    public class ShootBulletCountRecordEvent : shaco.Base.BaseEventArg
    {
        public int shootCount = 1;
    }

    //同步移动数据到网络事件
    public class SyncTransformPositionNetEvent : shaco.Base.BaseEventArg
    {
        public UnityEngine.Vector3 position;
    }

    //同步射击子弹数据到网络事件
    public class SyncShootBulletNetEvent : shaco.Base.BaseEventArg
    {
        public int shootCount = 1;
    }
}